package com.srxz.mobilepharmacy.mapper;

import java.util.List;

public interface BaseMapper<T, D> {
    public T toEntity(D d);
    public D dto(T t);
    public List<T> toEntity(List<D> ds);
    public List<D> dto(List<T> ts);
}
